package com.webwork.mood.system.service;

import java.util.List;

import com.webwork.mood.system.dataobject.Menu;
import com.webwork.mood.system.dataobject.Role;
import com.webwork.mood.util.Paging;

public interface MenuService {

	public List<Menu> query(Menu menu);
	
	public List<Menu> query(Menu menu, Paging page);
	
	public int count(Menu menu);

	public Menu get(String menuCode);
	
	public List<Menu> getMenuByRole(Role role);
	
	public void delete(String menuCode);
	
	public void save(Menu menu);

}